package com.example.yl.myapplication22222222222;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

import common.BaseActivity;

public class MainActivity_4 extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        setTitle_text("MainActivity_4");
    }

    public void dian(View view) {
        switch (view.getId()) {
            case R.id.bt1:
                Intent in = new Intent(MainActivity_4.this, MainActivity_5.class);
                startActivity(in);
                break;
            case R.id.bt2:
                Toast.makeText(MainActivity_4.this, "R.id.bt2", Toast.LENGTH_SHORT).show();
                break;
            case R.id.bt3:
                Toast.makeText(MainActivity_4.this, "R.id.bt3", Toast.LENGTH_SHORT).show();
                break;
            case R.id.bt4:
                Toast.makeText(MainActivity_4.this, "R.id.bt4", Toast.LENGTH_SHORT).show();
                break;
            case R.id.bt5:
                Toast.makeText(MainActivity_4.this, "R.id.bt5", Toast.LENGTH_SHORT).show();
                break;
        }
    }
}
